Part Number Hot Search : 
364089 S50D45PT SMAJ33 SZN5114C EA111 1000G B28B13 UPD7001
Product Description
Full Text Search
 

To Download AD73311 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. a information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. a AD73311 one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781/329-4700 world wide web site: http://www.analog.com fax: 781/326-8703 ? analog devices, inc., 1998 low cost, low power cmos general purpose analog front end functional block diagram AD73311 agnd1 agnd2 dgnd dvdd avdd2 avdd1 vinp vinn voutp voutn refcap refout sdi sdifs sclk sdo sdofs se mclk reset 1-bit dac reference serial i/o port interpolator decimator switched- capacitor low-pass filter continuous time low-pass filter +6/C15db pga 0/38db pga analog sigma-delta modulator digital sigma-delta modulator features 16-bit a/d converter 16-bit d/a converter programmable input/output sample rates 75 db adc snr 70 db dac snr 64 ks/s maximum sample rate C90 db crosstalk low group delay (25 m s typ per adc channel, 50 m s typ per dac channel) programmable input/output gain flexible serial port which allows up to 8 devices to be connected in cascade single (+2.7 v to +5.5 v) supply operation 50 mw max power consumption at 2.7 v on-chip reference 20-lead soic/ssop package applications general purpose analog i/o speech processing cordless and personal communications telephony active control of sound & vibration data communications general description the AD73311 is a complete front-end processor for general purpose applications including speech and telephony. it features a 16-bit a/d conversion channel and a 16-bit d/a conversion channel. each channel provides 70 db signal-to-noise ratio over a voiceband signal bandwidth. the final channel bandwidth can be reduced, and signal-to-noise ratio improved, by external digital filtering in a dsp engine. the AD73311 is suitable for a variety of applications in the speech and telephony area including low bit rate, high quality compression, speech enhancement, recognition and synthesis. the low group delay characteristic of the part makes it suitable for single or multichannel active control applications. the gains of the a/d and d/a conversion channels are pro- grammable over 38 db and 21 db ranges respectively. an on-chip reference voltage is included to allow single supply operation. a serial port (sport) allows easy interfacing of single or cascaded devices to industry standard dsp engines. the AD73311 is available in both 20-lead soic and ssop packages.
C2C rev. a AD73311Cspecifications 1 AD73311a parameter min typ max units test conditions/comments reference 5ven = 0 refcap absolute voltage, v refcap 1.08 1.2 1.32 v refcap tc 50 ppm/ c 0.1 m f capacitor required from refout refcap to agnd2 typical output impedance 68 w absolute voltage, v refout 1.08 1.2 1.32 v unloaded minimum load resistance 1 k w maximum load capacitance 100 pf adc specifications maximum input range at vin 2, 3 1.578 v p-p 5ven = 0, measured differentially C2.85 dbm nominal reference level at vin 1.0954 v p-p 5ven = 0, measured differentially (0 dbm0) C6.02 dbm absolute gain pga = 0 db C0.75 0.1 +1.0 db 1.0 khz, 0 dbm0 pga = 38 db C1.5 C0.5 +0.5 db 1.0 khz, 0 dbm0 gain tracking error 0.1 db 1.0 khz, +3 dbm0 to C50 dbm0 signal to (noise + distortion) refer to figure 5 pga = 0 db 70 76 db 300 hz to 3.4 khz frequency range 55 56 db 0 hz to 32 khz frequency range pga = 38 db 61 65 db 300 hz to 3.4 khz frequency range 53 54 db 0 hz to 32 khz frequency range total harmonic distortion pga = 0 db C83 C70 db pga = 38 db C83 C70 db intermodulation distortion C78 db pga = 0 db idle channel noise C76 dbm0 pga = 0 db crosstalk C100 db adc input signal level: 1.0 khz, 0 dbm0 dac input at idle dc offset C20 +15 +50 mv pga = 0 db power supply rejection C55 db input signal level at avdd and dvdd pins 1.0 khz, 100 mv p-p sine wave group delay 4, 5 25 m s 64 khz output sample rate input resistance at vin 2, 4 25 k w 6 dmclk = 16.384 mhz dac specifications maximum voltage output swing 2 single ended 1.578 v p-p 5ven = 0, pga = 6 db C2.85 dbm differential 3.156 v p-p 5ven = 0, pga = 6 db 3.17 dbm nominal voltage output swing (0 dbm0) single-ended 1.0954 v p-p 5ven = 0, pga = 6 db C6.02 dbm differential 2.1909 v p-p 5ven = 0, pga = 6 db 0 dbm output bias voltage 1.08 1.2 1.32 v 5ven = 0, refout unloaded absolute gain C0.75 +0.2 +1.0 db 1.0 khz, 0 dbm0 gain tracking error 0.1 db 1.0 khz, +3 dbm0 to C50 dbm0 signal to (noise + distortion) avdd = +3 v 5%; refer to figure 5 pga = 0 db 62.5 70 db 300 hz to 3.4 khz frequency range 62.5 db 0 hz to 32 khz frequency range pga = 6 db 62.5 71 db 300 hz to 3.4 khz frequency range 62.5 db 0 hz to 32 khz frequency range total harmonic distortion avdd = +3 v 5% pga = 0 db C70 C62.5 db pga = 6 db C70 C62.5 db intermodulation distortion C68 db pga = 0 db idle channel noise C82 dbm0 pga = 0 db crosstalk C100 db adc input signal level: agnd; dac output signal level: 1.0 khz, 0 dbm0 (avdd = +3 v 6 10%; dvdd = +3 v 6 10%; dgnd = agnd = 0 v, f mclk = 16.384 mhz, f s = 64 khz; t a = t min to t max , unless otherwise noted)
AD73311a parameter min typ max units test conditions/comments dac specifications (continued) power supply rejection C55 db input signal level at avdd and dvdd pins: 1.0 khz, 100 mv p-p sine wave group delay 4, 5 25 m s 64 khz input sample rate, interpolator bypassed (cre:5 = 1) output dc offset 2, 7 C30 +20 +70 mv pga = 6 db minimum load resistance, r l 2, 8 single-ended 150 w differential 150 w maximum load capacitance, c l 2, 8 single-ended 500 pf differential 100 pf frequency response (adc and dac) 9 typical output 0 hz 0 db 2000 hz C0.1 db 4000 hz C0.25 db 8000 hz C0.6 db 12000 hz C1.4 db 16000 hz C2.8 db 20000 hz C4.5 db channel frequency response is 24000 hz C7.0 db programmable by means of external 28000 hz C9.5 db digital filtering > 32000 hz < C12.5 db logic inputs v inh , input high voltage v dd C 0.8 v dd v v inl , input low voltage 0 0.8 v i ih , input current 10 m a c in , input capacitance 10 pf logic output v oh , output high voltage v dd C 0.4 v dd v |iout| 100 m a v ol , output low voltage 0 0.4 v |iout| 100 m a three-state leakage current C10 +10 m a power supplies avdd1, avdd2 2.7 3.3 v dvdd 2.7 3.3 v i dd 10 see table i notes 1 operating temperature range is as follows: C40 c to +85 c. therefore, t min = C40 c and t max = +85 c. 2 test conditions: input pga set for 0 db gain, output pga set for 6 db gain, no load on analog outputs (unless otherwise noted). 3 at input to sigma-delta modulator of adc. 4 guaranteed by design. 5 overall group delay will be affected by the sample rate and the external digital filtering. 6 the adcs input impedance is inversely proportional to dmclk and is approximated by: (4 10 11 )/dmclk. 7 between voutp and voutn. 8 at vout output. 9 frequency responses of adc and dac measured with input at audio reference level (the input level that produces an output level of C10 dbm0), with 38 db preamplifier bypassed and input gain of 0 db. 10 test conditions: no load on digital inputs, analog inputs ac coupled to ground, no load on analog outputs. specifications subject to change without notice. table i. current summary (avdd = dvdd = +3.3 v) analog internal digital external interface total current mclk conditions current current current (max) se on comments adc on only 7 3 0.5 11.5 1 yes refout disabled adc and dac on 10 5 0.5 17.5 1 yes refout disabled refcap on only 0.75 0 0 1.0 0 no refout disabled refcap and refout on only 3.0 0 0 4.5 0 no all sections off 0 0.85 0 1.0 0 yes mclk active levels equal to 0 v and dvdd all sections off 0.00 0.007 0 0.04 0 no digital inputs static and equal to 0 v or dvdd the above values are in ma and are typical values unless otherwise noted. AD73311 C3C rev. a
(avdd = +5 v 6 10%; dvdd = +5 v 6 10%; dgnd = agnd = 0 v, f mclk = 16.384 mhz, f s = 64 khz; t a = t min to t max , unless otherwise noted) AD73311a parameter min typ max units test conditions/comments reference refcap absolute voltage, v refcap 1.2 v 5ven = 0 2.4 v 5ven = 1 refcap tc 50 ppm/ c 0.1 m f capacitor required from refout refcap to agnd2 typical output impedance 68 w absolute voltage, v refout 1.2 v 5ven = 0, unloaded 2.4 v 5ven = 1, unloaded minimum load resistance 2 k w 5ven = 1 maximum load capacitance 100 pf adc specifications maximum input range at vin 2, 3 3.156 v p-p 5ven = 1, measured differentially 3.17 dbm nominal reference level at vin 2.1908 v p-p 5ven = 1, measured differentially (0 dbm0) 0 dbm absolute gain pga = 0 db 0.1 db 1.0 khz, 0 dbm0 pga = 38 db C0.5 db 1.0 khz, 0 dbm0 gain tracking error 0.1 db 1.0 khz, +3 dbm0 to C50 dbm0 signal to (noise + distortion) refer to figure 5 pga = 0 db 76 db 300 hz to 3.4 khz frequency range 59 db 0 hz to 32 khz frequency range pga = 38 db 71 db 300 hz to 3.4 khz frequency range 57 db 0 hz to 32 khz frequency range total harmonic distortion pga = 0 db C76 db pga = 38 db C69 db intermodulation distortion C69 db pga = 0 db idle channel noise C67 dbm0 pga = 0 db crosstalk C80 db adc input signal level: 1.0 khz, 0 dbm0 dac input at idle dc offset +20 mv pga = 0 db power supply rejection C55 db input signal level at avdd and dvdd pins 1.0 khz, 100 mv p-p sine wave group delay 4, 5 25 m s 64 khz output sample rate input resistance at vin 2, 4 25 k w 6 dmclk = 16.384 mhz dac specifications maximum voltage output swing 2 single ended 3.156 v p-p 5ven = 1, pga = 6 db 3.17 dbm differential 6.312 v p-p 5ven = 1, pga = 6 db 9.19 dbm nominal voltage output swing (0 dbm0) single-ended 2.1908 v p-p 5ven = 1, pga = 6 db 0 dbm differential 4.3918 v p-p 5ven = 1, pga = 6 db 6.02 dbm output bias voltage v refout v typ 5ven = 1, refout unloaded absolute gain 0.4 db 1.0 khz, 0 dbm0 gain tracking error 0.1 db 1.0 khz, +3 dbm0 to C50 dbm0 signal to (noise + distortion) refer to figure 5 pga = 0 db 66 db 300 hz to 3.4 khz frequency range 64 db 0 hz to 32 khz frequency range pga = 6 db 66 db 300 hz to 3.4 khz frequency range 64 db 0 hz to 32 khz frequency range total harmonic distortion pga = 0 db C62.5 db pga = 6 db C62.5 db intermodulation distortion C60 db pga = 0 idle channel noise C75 dbm0 pga = 0 crosstalk C80 db adc input signal level: agnd; dac output signal level: 1.0 khz, 0 dbm0 AD73311Cspecifications 1 C4C rev. a
C5C rev. a AD73311 AD73311a parameter min typ max units test conditions/comments dac specifications (continued) power supply rejection C55 db input signal level at avdd and dvdd pins: 1.0 khz, 100 mv p-p sine wave group delay 4, 5 25 m s 64 khz input sample rate, interpolator bypassed (cre:5 = 1) output dc offset 2, 7 +30 mv pga = 6 db minimum load resistance, r l 2, 8 single-ended 150 w differential 150 w maximum load capacitance, c l 2, 8 single-ended 500 pf differential 100 pf frequency response (adc and dac) 9 typical output 0 hz 0 db 2000 hz C0.1 db 4000 hz C0.25 db 8000 hz C0.6 db 12000 hz C1.4 db 16000 hz C2.8 db 20000 hz C4.5 db channel frequency response is 24000 hz C7.0 db programmable by means of external 28000 hz C9.5 db digital filtering > 32000 hz < C12.5 db logic inputs v inh , input high voltage v dd C 0.8 v dd v v inl , input low voltage 0 0.8 v i ih , input current C0.5 m a c in , input capacitance 10 pf logic output v oh , output high voltage v dd C 0.4 v dd v|i out | < 100 m a v ol , output low voltage 0 0.4 v |i out | < 100 m a three-state leakage current C0.3 m a power supplies avdd1, avdd2 4.5 5.5 v dvdd 4.5 5.5 v i dd 10 see table ii n otes 1 operating temperature range is as follows: C40 c to +85 c. therefore, t min = C40 c and t max = +85 c. 2 test conditions: input pga set for 0 db gain, output pga set for 6 db gain, no load on analog outputs (unless otherwise stated). 3 at input to sigma-delta modulator of adc. 4 guaranteed by design. 5 overall group delay will be affected by the sample rate and the external digital filtering. 6 the adcs input impedance is inversely proportional to dmclk and is approximated by: (4 10 11 )/dmclk. 7 between voutp and voutn. 8 at vout output. 9 frequ ency responses of adc and dac measured with input at audio reference level (the input level that produces an output level of C1 0 dbm0), with 38 db pr eamplifier bypassed and input gain of 0 db. 10 test conditions: no load on digital inputs, analog inputs ac coupled to ground, no load on analog outputs. specifications subject to change without notice.
AD73311 C6C rev. a table iii. signal ranges 3 v power supply 5 v power supply 5ven = 0 5ven = 0 5ven = 1 v refcap 1.2 v 10% 1.2 v 2.4 v v refout 1.2 v 10% 1.2 v 2.4 v adc maximum input range at v in 1.578 v p-p 1.578 v p-p 3.156 v p-p nominal reference level 1.0954 v p-p 1.0954 v p-p 2.1908 v p-p dac maximum voltage output swing single-ended 1.578 v p-p 1.578 v p-p 3.156 v p-p differential 3.156 v p-p 3.156 v p-p 6.312 v p-p nominal voltage output swing single-ended 1.0954 v p-p 1.0954 v p-p 2.1908 v p-p differential 2.1909 v p-p 2.1909 v p-p 4.3818 v p-p output bias voltage v refout v refout v refout timing characteristics limit at parameter t a = C40 8 c to +85 8 c units description clock signals see figure 1 t 1 61 ns min mclk period t 2 24.4 ns min mclk width high t 3 24.4 ns min mclk width low serial port see figures 3 and 4 t 4 t 1 ns min sclk period t 5 0.4 t 1 ns min sclk width high t 6 0.4 t 1 ns min sclk width low t 7 20 ns min sdi/sdifs setup before sclk low t 8 0 ns min sdi/sdifs hold after sclk low t 9 10 ns max sdofs delay from sclk high t 10 10 ns min sdofs hold after sclk high t 11 10 ns min sdo hold after sclk high t 12 10 ns max sdo delay from sclk high t 13 30 ns max sclk delay from mclk (avdd = +3 v 6 10%; dvdd = +3 v 6 10%; agnd = dgnd = 0 v; t a = t mln to t max , unless otherwise noted) table ii. current summary (avdd = dvdd = +5.5 v) analog internal digital external interface mclk conditions current current current total current se on comments adc on only 8.5 6 2 16.5 1 yes refout disabled adc and dac on 14.5 6 2 22.5 1 yes refout disabled refcap on only 0.8 0 0 0.8 0 no refout disabled refcap and refout on only 3.5 0 0 3.5 0 no all sections off 0 1.5 0 1.5 0 yes mclk active levels equal to 0 v and dvdd all sections off 0 0.01 0 0.01 0 no digital inputs static and equal to 0 v or dvdd the above values are in ma and are typical values unless otherwise noted.
AD73311 C7C rev. a t 1 t 2 t 3 figure 1. mclk timing timing characteristics limit at parameter t a = C40 8 c to +85 8 c units description clock signals see figure 1 t 1 61 ns min mclk period t 2 24.4 ns min mclk width high t 3 24.4 ns min mclk width low serial port see figures 3 and 4 t 4 t 1 ns min sclk period t 5 0.4 t 1 ns min sclk width high t 6 0.4 t 1 ns min sclk width low t 7 20 ns typ sdi/sdifs setup before sclk low t 8 0 ns typ sdi/sdifs hold after sclk low t 9 10 ns typ sdofs delay from sclk high t 10 10 ns typ sdofs hold after sclk high t 11 10 ns typ sdo hold after sclk high t 12 10 ns typ sdo delay from sclk high t 13 30 ns typ sclk delay from mclk (avdd = +5 v 6 10%; dvdd = +5 v 6 10%; agnd = dgnd = 0 v; t a = t mln to t max , unless otherwise noted) 100 m ai ol 100 m ai oh c l 15pf +2.1v to output pin figure 2. load circuit for timing specifications t 1 t 2 t 3 t 13 t 5 t 6 t 4 mclk sclk * sclk is individually programmable in frequency ( mclk/4 shown here ) . * figure 3. sclk timing
AD73311 C8C rev. a v in C dbm0 C85 3.17 C75 C65 C55 C45 C35 C25 C15 0 80 70 C10 s/(n+d) C db 30 20 10 0 50 40 60 C5 figure 5a. s/(n+d) vs. v in (adc @ 3 v) over voiceband bandwidth (300 hz C 3.4 khz) v in C dbm0 C85 3.17 C75 C65 C55 C45 C35 C25 C15 0 80 70 C10 s/(n+d) C db 30 20 10 0 50 40 60 C5 figure 5b. s/(n+d) vs. v in (dac @ 3 v) over voiceband bandwidth (300 hz C 3.4 khz) v in C dbm0 C85 3.17 C75 C65 C55 C45 C35 C25 C15 0 80 70 C10 s/(n+d) C db 30 20 10 0 50 40 60 C5 figure 5c. s/(n+d) vs. v in (adc @ 5 v) over voiceband bandwidth (300 hz C 3.4 khz) v in C dbm0 C85 3.17 C75 C65 C55 C45 C35 C25 C15 0 80 70 C10 s/(n+d) C db 30 20 10 0 50 40 60 C5 figure 5d. s/(n+d) vs. v in (dac @ 5 v) over voiceband bandwidth (300 hz C 3.4 khz) t 7 t 9 t 10 t 11 t 12 three- state three- state three- state se (i) sclk (o) sdifs (i) sdi (i) sdofs (o) sdo (o) d15 d14 d1 d0 d15 d15 d2 d1 d0 d15 d14 t 8 t 7 t 8 figure 4. serial port (sport)
AD73311 C9C rev. a absolute maximum ratings* (t a = +25 c unless otherwise noted) avdd, dvdd to gnd . . . . . . . . . . . . . . . . . C0.3 v to +7 v agnd to dgnd . . . . . . . . . . . . . . . . . . . . . C0.3 v to +0.3 v digital i/o voltage to dgnd . . . . . .C0.3 v to dvdd + 0.3 v analog i/o voltage to agnd . . . . . C0.3 v to avdd + 0.3 v operating temperature range industrial (a version) . . . . . . . . . . . . . . . . C40 c to +85 c storage temperature range . . . . . . . . . . . . C65 c to +150 c maximum junction temperature . . . . . . . . . . . . . . . . +150 c soic, q ja thermal impedance . . . . . . . . . . . . . . . . . . 75 c/w lead temperature, soldering vapor phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . +215 c infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . +220 c ssop, q ja thermal impedance . . . . . . . . . . . . . . . . . . 90 c/w lead temperature, soldering vapor phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . +215 c infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . +220 c *stresses above those listed under absolute maximum ratings may cause perma- nent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those listed in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. ordering guide temperature package model range option 1 AD73311ar C40 c to +85 c r-20 AD73311ars C40 c to +85 c rs-20 eval-AD73311eb evaluation board 2 +ez-kit lite upgrade 3 eval-AD73311ez evaluation board 2 +ez-kit lite 4 notes 1 r = 0.3' small outline ic (soic), rs = shrink sm all outline package (ssop). 2 the AD73311 evaluation board features a selectable number of codecs in cascade (from 1 to 4). it can be interfaced to an adsp-2181 ez-kit lite or to a texas instruments evm kit. 3 the upgrade consists of a replacement prom and connector. this option is intended for existing owners of ez-kit lite. 4 the ez-kit lite has been modified to allow it to interface with the AD73311 evaluation board. this option is intended for users who do not already have an ez-kit lite. caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the AD73311 features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. pin configuration 14 13 12 11 17 16 15 20 19 18 10 9 8 1 2 3 4 7 6 5 top view (not to scale) voutp sdofs sdifs sdi se voutn avdd1 agnd1 AD73311 sclk mclk sdo vinp vinn refout refcap avdd2 agnd2 dgnd dvdd reset warning! esd sensitive device
AD73311 C10C rev. a pin function descriptions pin number mnemonic function 1 voutp analog output from the positive terminal of the output channel. 2 voutn analog output from the negative terminal of the output channel. 3 avdd1 analog power supply connection for the output driver. 4 agnd1 analog ground connection for the output driver. 5 vinp analog input to the positive terminal of the input channel. 6 vinn analog input to the negative terminal of the input channel. 7 refout buffered reference output, which has a nominal value of 1.2 v or 2.4 v, the value being dependent on the status of bit 5ven (crc:7). 8 refcap a bypass capacitor to agnd2 of 0.1 m f is required for the on-chip reference. the capacitor should be fixed to this pin. 9 avdd2 analog power supply connection. 10 agnd2 analog ground/substrate connection. 11 dgnd digital ground/substrate connection. 12 dvdd digital power supply connection. 13 reset active low reset signal. this input resets the entire chip, resetting the control registers and clearing the digital circuitry. 14 sclk output serial clock whose rate determines the serial transfer rate to/from the codec. it is used to clock data or control information to and from the serial port (sport). the frequency of sclk is equal to the frequency of the master clock (mclk) divided by an integer numberthis integer number being the product of the external master clock rate divider and the serial clock rate divider. 15 mclk master clock input. mclk is driven from an external clock signal. 16 sdo serial data output of the codec. both data and control information may be output on this pin and is clocked on the positive edge of sclk. sdo is in three-state when no information is being transmitted and when se is low. 17 sdofs framing signal output for sdo serial transfers. the frame sync is one-bit wide and it is active one sclk period before the first bit (msb) of each output word. sdofs is referenced to the positive edge of sclk. sdofs is in three-state when se is low. 18 sdifs framing signal input for sdi serial transfers. the frame sync is one-bit wide and it is valid one sclk period before the first bit (msb) of each input word. sdifs is sampled on the negative edge of sclk and is ignored when se is low. 19 sdi serial data input of the codec. both data and control information may be input on this pin and are clocked on the negative edge of sclk. sdi is ignored when se is low. 20 se sport enable. asynchronous input enable pin for the sport. when se is set low by the dsp, the output pins of the sport are three-stated and the input pins are ignored. sclk is also disabled internally in order to decrease power dissipation. when se is brought high, the control and data regis- ters of the sport are at their original values (before se was brought low), however the timing counters and other internal registers are at their reset values.
AD73311 C11C rev. a terminology absolute gain absolute gain is a measure of converter gain for a known signal. absolute gain is measured (differentially) with a 1 khz sine wave at 0 dbm0 for the dac and with a 1 khz sine wave at 0 dbm0 for the adc. the absolute gain specification is used for gain tracking error specification. crosstalk crosstalk is due to coupling of signals from a given channel to an adjacent channel. it is defined as the ratio of the amplitude of the coupled signal to the amplitude of the input signal. crosstalk is expressed in db. gain tracking error gain tracking error measures changes in converter output for different signal levels relative to an absolute signal level. the absolute signal level is 0 dbm0 (equal to absolute gain) at 1 khz for the dac and 0 dbm0 (equal to absolute gain) at 1 khz for the adc. gain tracking error at 0 dbm0 (adc) and 0 dbm0 (dac) is 0 db by definition. group delay group delay is defined as the derivative of radian phase with respect to radian frequency, d?(f)/df. group delay is a measure of average delay of a system as a function of frequency. a linear system with a constant group delay has a linear phase response. the deviation of group delay from a constant indicates the degree of nonlinear phase response of the system. idle channel noise idle channel noise is defined as the total signal energy measured at the output of the device when the input is grounded (mea- sured in the frequency range 300 hzC3400 hz). intermodulation distortion with inputs consisting of sine waves at two frequencies, fa and fb, any active device with nonlinearities will create distortion products at sum and difference frequencies of mfa nfb where m, n = 0, 1, 2, 3, etc. intermodulation terms are those for which neither m nor n are equal to zero. for final testing, the second order terms include (fa + fb) and (fa C fb), while the third order terms include (2fa + fb), (2fa C fb), (fa + 2fb) and (fa C 2fb). power supply rejection power supply rejection measures the susceptibility of a device to noise on the power supply. power supply rejection is measured by modulating the power supply with a sine wave and measuring the noise at the output (relative to 0 db). sample rate the sample rate is the rate at which the adc updates its output register and the dac updates its output from its input register. it is fixed relative to the dmclk (= dmclk/256) and there- fore may only be changed by changing the dmclk. snr+thd signal-to-noise ratio plus harmonic distortion is defined to be the ratio of the rms value of the measured input signal to the rms sum of all other spectral components in the frequency range 300 hzC3400 hz, including harmonics but excluding dc. abbreviations adc analog-to-digital converter. alb analog loop-back. bw bandwidth. crx a control register where x is a placeholder for an alphabetic character (aCe). there are five read/ write control registers on the AD73311desig- nated cra through cre. crx:n a bit position, where n is a placeholder for a nu- meric character (0C7), within a control register; where x is a placeholder for an alphabetic charac- ter (aCe). position 7 represents the msb and position 0 represents the lsb. dac digital-to-analog converter. dlb digital loop-back. dmclk device (internal) master clock. this is the inter- nal master clock resulting from the external master clock (mclk) being divided by the on-chip mas- ter clock divider. fslb frame sync loop backwhere the sdofs of the final device in a cascade is connected to the rfs and tfs of the dsp and the sdifs of first device in the cascade. data input and out- put occur simultaneously. in the case of non- fslb, sdofs and sdo are connected to the rx port of the dsp while sdifs and sdi are connected to the tx port. pga programmable gain amplifier. sc switched capacitor. snr signal-to-noise ratio. sport serial port. thd total harmonic distortion. vbw voice bandwidth.
AD73311 C12C rev. a functional description encoder channel the encoder channel consists of a switched capacitor pga and a sigma-delta analog-to-digital converter (adc). an on-board digital filter, which forms part of the sigma-delta adc, also performs critical system-level filtering. due to the high level of oversampling, the input antialias requirements are reduced such that a simple single pole rc stage is sufficient to give adequate attenuation in the band of interest. programmable gain amplifier the encoder sections analog front end comprises a switched capacitor pga which also forms part of the sigma-delta modula- tor. the sc sampling frequency is dmclk/8. the pga, whose programmable gain settings are shown in table iv, may be used to increase the signal level applied to the adc from low output sources such as microphones, and can be used to avoid placing external amplifiers in the circuit. the input signal level to the sigma-delta modulator should not exceed the maximum input voltage permitted. the pga gain is set by bits igs0, igs1 and igs2 (crd:0C2) in control register d. table iv. pga settings for the encoder channel igs2 igs1 igs0 gain (db) 00 00 00 16 01 012 01 118 10 020 10 126 11 032 11 138 adc the adc consists of an analog sigma-delta modulator and a digital antialiasing decimation filter. the sigma-delta modu- lator noise-shapes the signal and produces 1-bit samples at a dmclk/8 rate. this bit-stream, representing the analog input signal, is input to the antialiasing decimation filter. the decimation filter reduces the sample rate and increases the resolution. analog sigma-delta modulator the AD73311 input channel employs a sigma-delta conversion technique, which provides a high resolution 16-bit output with system filtering being implemented on-chip. sigma-delta converters employ a technique known as oversampling where the sampling rate is many times the highest frequency of interest. in the case of the AD73311, the initial sampling rate of the sigma-delta modulator is dmclk/8. the main effect of oversampling is that the quantization noise is spread over a very wide bandwidth, up to f s /2 = dmclk/16 (figure 6a). this means that the noise in the band of interest is much reduced. another complementary feature of sigma-delta converters is the use of a technique called noise-shaping. this technique has the effect of pushing the noise from the band of interest to an out- of-band position (figure 6b). the combination of these techniq ues, followed by the application of a digital filter, reduces the noise in band sufficiently to ensure good dynamic perfor- mance from the part (figure 6c). band of interest f s /2 dmclk/16 band of interest noise shaping f s /2 dmclk/16 band of interest f s /2 dmclk/16 digital filter a. b. c. figure 6. sigma-delta noise reduction figure 7 shows the various stages of filtering that are employed in a typical AD73311 application. in figure 7a we see the trans- fer function of the external analog antialias filter. even though it is a single rc pole, its cutoff frequency is sufficiently far away from the initial sampling frequency (dmclk/8) that it takes care of any signals that could be aliased by the sampling frequency. this also shows the major difference between the initial over- sampling rate and the bandwidth of interest. in figure 7b, the signal and noise shaping responses of the sigma-delta modulator are shown. the signal response provides further rejection of any high frequency signals while the noise shaping will push the inherent quantization noise to an out-of-band position. the detail of figure 7c shows the response of the digital decimation filter (sinc-cubed response) with nulls every multiple of dmclk/ 256, which is the decimation filter update rate. the final detail in figure 7d shows the application of a final antialias filter in the dsp engine. this has the advantage of being implemented according to the users requirements and available mips. the filtering in figures 7a through 7c is implemented in the AD73311.
AD73311 C13C rev. a f b = 4khz fs init = dmclk/8 f b = 4khz fs init = dmclk/8 signal transfer function noise transfer function f b = 4khz fs inter = dmclk/256 f b = 4khz fs final = 8khz fs inter = dmclk/256 a. analog antialias filter transfer function b. analog sigma-delta modulator transfer function c. digital decimator transfer function d. final filter lpf (hpf) transfer function figure 7. AD73311 adc frequency responses decimation filter the digital filter used in the AD73311 carries out two important functions. firstly, it removes the out-of-band quantization noise, which is shaped by the analog modulator and secondly, it decimates the high frequency bit-stream to a lower rate 15-bit word. the antialiasing decimation filter is a sinc-cubed digital filter that reduces the sampling rate from dmclk/8 to dmclk/ 256, and increases the resolution from a single bit to 15 bits. its z transform is given as: [(1Cz C32 )/(1Cz C1 )] 3 . this ensures a minimal group delay of 25 m s. adc coding the adc coding scheme is in twos complement format (see figure 8). the output words are formed by the decimation filter, which grows the word length from the single-bit output of the sigma-delta modulator to a 15-bit word, which is the final output of the adc block. in 16-bit data mode this value is left shifted with the lsb being set to 0. for input values equal to or greater than positive full scale, however, the output word is set at 0x7fff, which has the lsb set to 1. in mixed control/data mode, the resolution is fixed at 15 bits, with the msb of the 16-bit transfer being used as a flag bit to indicate either control or data in the frame. v inn v inp v ref + (v ref x 0.32875) v ref v ref C (v ref x 0.32875) 10...00 00...00 01...11 adc code differential v inn v inp v ref + (v ref x 0.6575) v ref v ref C (v ref x 0.6575) 10...00 00...00 01...11 adc code single ended analog input analog input figure 8. adc transfer function decoder channel the decoder channel consists of a digital interpolator, digital sigma-delta modulator, a single bit digital-to-analog converter (dac), an analog smoothing filter and a programmable gain amplifier with differential output. dac coding the dac coding scheme is in twos complement format with 0x7fff being full-scale positive and 0x8000 being full-scale negative. interpolation filter the anti-imaging interpolation filter is a sinc-cubed digital filter which up-samples the 16-bit input words from a rate of dmclk/256 to a rate of dmclk/8 while filtering to attenuate images produced by the interpolation process. its z transform is given as: [(1Cz C32 )/(1Cz C1 )] 3 . the dac receives 16-bit samples from the host dsp processor at a rate of dmclk/256. if the host processor fails to write a new value to the serial port, the existing (previous) data is read again. the data stream is filtered by the anti-imaging interpolation filter, but there is an option to bypass the interpolator for the minimum group delay configura- tion by setting the ibyp bit (cre:5) of control register e. the interpolation filter has the same characteristics as the adcs antialiasing decimation filter. the output of the interpolation filter is fed to the dacs digital sigma-delta modulator, which converts the 16-bit data to 1-bit samples at a rate of dmclk/8. the modulator noise-shapes the signal so that errors inherent to the process are minimized in the passband of the converter. the bit-stream output of the sigma-delta modulator is fed to the single bit dac where it is converted to an analog voltage.
AD73311 C14C rev. a analog smoothing filter & pga the output of the single-bit dac is sampled at dmclk/8, therefore it is necessary to filter the output to reconstruct the low frequency signal. the decoders analog smoothing filter consists of a continuous-time filter preceded by a third-order switched-capacitor filter. the continuous-time filter forms part of the output programmable gain amplifier (pga). the pga can be used to adjust the output signal level from C15 db to +6 db in 3 db steps, as shown in table v. the pga gain is set by bits ogs0, ogs1 and ogs2 (crd:4-6) in control register d. table v. pga settings for the decoder channel og2 og1 og0 gain (db) 00 0+6 00 1+3 01 00 01 1C3 10 0C6 10 1C9 1 1 0 C12 1 1 1 C15 differential output amplifiers the decoder has a differential analog output pair (voutp and voutn). the output channel can be muted by setting the mute bit (crd:7) in control register d. the output signal is dc-biased to the codecs on-chip voltage reference. voltage reference the AD73311 reference, refcap, is a bandgap reference that provides a low noise, temperature-compensated reference to the dac and adc. a buffered version of the reference is also made available on the refout pin and can be used to bias other external analog circuitry. the reference has a default nominal value of 1.2 v but can be set to a nominal value of 2.4 v by setting the 5ven bit (crc:7) of crc. the 5 v mode is gener- ally only usable when v dd = 5 v. the reference output (refout) can be enabled for biasing external circuitry by setting the ru bit (crc:6) of crc. serial port (sport) the codec communicates with a host processor via the bidirec- tional synchronous serial port (sport) which is compatible with most modern dsps. the sport is used to transmit and receive digital data and control information. in both transmit and receive modes, data is transferred at the serial clock (sclk) rate with the msb being transferred first. due to the fact that the sport uses a common serial register for serial input and output, communications between an AD73311 codec and a host processor (dsp engine) must always be initiated by the codec itself. this ensures that there is no danger of the information being sent to the codec being corrupted by adc samples being output by the codec. sport overview the AD73311 sport is a flexible, full-duplex, synchronous serial port whose protocol has been designed to allow up to eight AD73311 devices to be connected, in cascade, to a single dsp via a six-wire interface. it has a very flexible architecture that can be configured by programming two of the internal control registers. the AD73311 sport has three distinct modes of operation: control mode, data mode and mixed control/data mode. in control mode (cra:0 = 0), the devices internal configura- tion can be programmed by writing to the five internal control registers. in this mode, control information can be written to or read from the codec. in data mode (cra:0 = 1), information that is sent to the device is used to update the decoder section (dac), while the encoder section (adc) data is read from the device. in this mode, only dac and adc data is written to or read from the device. mixed mode (cra:0 = 1 and cra:1 = 1) allows the user to choose whether the information being sent to the device contains either control information or dac data. this is achieved by using the msb of the 16-bit frame as a flag bit. mixed mode reduces the resolution to 15 bits with the msb being used to indicate whether the information in the 16-bit frame is control information or dac/adc data. the sport features a single 16-bit serial register that is used for both input and output data transfers. as the input and out- put data must share the same register there are some precautions that must be observed. the primary precaution is that no infor- mation must be written to the sport without reference to an output sample event, which is when the serial register will be overwritten with the latest adc sample word. once the sport starts to output the latest adc word then it is safe for the dsp to write new control or data words to the codec. in certain con- figurations, data can be written to the device to coincide with the output sample being shifted out of the serial registersee section on interfacing devices. the serial clock rate (crb:2C3) defines how many 16-bit words can be written to a device before the next output sample event will happen. the sport block diagram, shown in figure 9, details the five control registers (aCe), external mclk to internal dmclk divider and serial clock divider. the divider rates are controlled by the setting of control register b. the AD73311 features a master clock divider that allows users the flexibility of dividing externally available high frequency dsp or cpu clocks to gen- erate a lower frequency master clock internally in the codec which may be more suitable for either serial transfer or sampling rate requirements. the master clock divider has five divider options ( ? 1 default condition, ? 2, ? 3, ? 4, ? 5) that are set by loading the master clock divider field in register b with the appropriate code. once the internal device master clock (dmclk) has been set using the master clock divider, the sample rate and serial clock settings are derived from dmclk. the sport can work at four different serial clock (sclk) rates: chosen from dmclk, dmclk/2, dmclk/4 or dmclk/8, where dmclk is the internal or device master clock resulting from the external or pin master clock being divided by the master clock divider. when working at the lower sclk rate of dmclk/8, which is intended for interfacing with slower dsps, the sport will support a maximum of two de- vices in cascade with the sample rate of dmclk/256.
AD73311 C15C rev. a sport register maps there are two register banks for the AD73311: the control register bank and the data register bank. the control register bank consists of five read/write registers, each 8 bits wide. table ix shows the control register map for the AD73311. the first two control registers, cra and crb, are reserved for control- ling the sport. they hold settings for parameters such as bit rate, internal master clock rate and device count (used when more than one AD73311 is connected in cascade from a single sport). the other three registers; crc, crd and cre are used to hold control settings for the adc, dac, reference and power control sections of the device. control registers are written to on the negative edge of sclk. the data register bank consists of two 16-bit registers that are the dac and adc registers. master clock divider the AD73311 features a programmable master clock divider that allows the user to reduce an externally available master clock, at pin mclk, by one of the ratios 1, 2, 3, 4 or 5 to pro- duce an internal master clock signal (dmclk) that is used to calculate the sampling and serial clock rates. the master clock divider is programmable by setting crb:4-6. table vi shows the division ratio corresponding to the various bit settings. the default divider ratio is divide by one. table vi. dmclk (internal) rate divider settings mcd2 mcd1 mcd0 dmclk rate 0 0 0 mclk 0 0 1 mclk/2 0 1 0 mclk/3 0 1 1 mclk/4 1 0 0 mclk/5 1 0 1 mclk 1 1 0 mclk 1 1 1 mclk serial clock rate divider the AD73311 features a programmable serial clock divider that allows users to match the serial clock (sclk) rate of the data to that of the dsp engine or host processor. the maximum sclk rate available is dmclk and the other available rates are: dmclk/2, dmclk/4 and dmclk/8. the slowest rate (dmclk/8) is the default sclk rate. the serial clock divider is programmable by setting bits crb:2C3. table vii shows the serial clock rate corresponding to the various bit settings. table vii. sclk rate divider settings scd1 scd0 sclk rate 0 0 dmclk/8 0 1 dmclk/4 1 0 dmclk/2 1 1 dmclk dac advance register the loading of the dac is internally synchronized with the unloading of the adc data in each sampling interval. the de- fault dac load event happens one sclk cycle before the sdofs flag is raised by the adc data being ready. however, this dac load position can be advanced before this time by modifying the contents of the dac advance field in control register e (cre:0C4). the field is five-bits wide, allowing 31 increments of weight 1/(dmclk/8); see table viii. in certain circumstances this can reduce the group delay when the adc and dac are used to process data in series. appendix e details how the dac advance feature can be used. note: the dac advance register should be changed before the dac section is powered up. table viii. dac timing control da4 da3 da2 da1 da0 time advance* 000 0 0 0 ns 0 0 0 0 1 488.2 ns 0 0 0 1 0 976.5 ns 1 1 1 1 0 14.64 m s 1 1 1 1 1 15.13 m s *dmclk = 16.384 mhz. serial port (sport) serial register sclk divider mclk divider control register b control register a control register c control register d control register e mclk (external) se resetb sdifs sdi dmclk (internal) 3 8 8 8 8 8 2 sclk sdofs sdo figure 9. sport block diagram
AD73311 C16C rev. a operation resetting the AD73311 the pin reset resets all the control registers. all registers are reset to zero indicating that the default sclk rate (dmclk/8) and sample rate (dmclk/2048) are at a mini- mum to ensure that slow speed dsp engines can communicate effectively. as well as resetting the control registers using the reset pin, the device can be reset using the reset bit (cra:7) in control register a. both hardware and software resets re- quire 4 dmclk cycles. on reset, data/ pgm (cra:0) is set to 0 (default condition) thus enabling program mode. the reset conditions ensure that the device must be programmed to the correct settings after power-up or reset. following a reset, the sdofs will be asserted 280 dmclk cycles after reset going high. the data that is output following reset and dur- ing program mode is random and contains no valid information until either data or mixed mode is set. power management the individual functional blocks of the AD73311 can be en- abled separately by programming the power control register crc. it allows certain sections to be powered down if not re- quired, which adds to the devices flexibility in that the user need not incur the penalty of having to provide power for a certain section if it is not necessary to their design. the power control register provides individual control settings for the major functional blocks and also a global override that allows all sec- tions to be powered up by setting the bit. using this method the user could, for example, individually enable a certain section, such as the reference (crc:5), and disable all others. the glo- bal power-up (crc:0) can be used to enable all sections but if power-down is required using the global control, the reference will still be enabled, in this case, because its individual bit is set. refer to table xiii for details of the settings of crc. operating modes there are five operating modes available on the AD73311. two of thes eanalog loop-back and digital loop-backare reserved as diagnostic modes with the other three, program, data and mixed program/data, being available for general purpose use. the device configurationregister settingscan be chan ged only in program and mixed program/data modes. in all modes, transfers of information to or from the device occur in 16-bit packets, therefore the dsp engines sport will be programmed for 16-bit transfers. table x. control word description 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 c/ d r/ w device address register address register data control frame description bit 15 control/ data when set high, it signifies a control word in program or mixed program/data modes. when set low, it signifies a data word in mixed program/data mode or an invalid control word in program mode. bit 14 read/ write when set low, it tells the device that the data field is to be written to the register selected by the register field setting provided the address field is zero. when set high, it tells the device that the selected register is to be written to the data field in the input serial register and that the new control word is to be output from the device via the serial output. bits 13C11 device address this 3-bit field holds the address information. only when this field is zero is a device se- lected. if the address is not zero, it is decremented and the control word is passed out of the device via the serial output. bits 10C8 register address this 3-bit field is used to select one of the five control registers on the AD73311. bits 7C0 register data this 8-bit field holds the data that is to be written to or read from the selected register provided the address field is zero. table ix. control register map address (binary) name description type width reset setting (hex) 000 cra control register a r/w 8 0x00 001 crb control register b r/w 8 0x00 010 crc control register c r/w 8 0x00 011 crd control register d r/w 8 0x00 100 cre control register e r/w 8 0x00 101 to 111 reserved
AD73311 C17C rev. a table xi. control register a description control register a 765 432 10 reset dc2 dc1 dc0 dlb alb mm data/ pgm bit name description 0 data/ pgm operating mode (0 = program; 1 = data mode) 1 mm mixed mode (0 = off; 1 = enabled) 2 alb analog loop-back mode (0 = off; 1 = enabled) 3 dlb digital loop-back mode (0 = off; 1 = enabled) 4 dc0 device count (bit 0) 5 dc1 device count (bit 1) 6 dc2 device count (bit 2) 7 reset software reset (0 = off; 1 = initiates reset) table xii. control register b description control register b 765 432 10 cee mcd2 mcd1 mcd0 scd1 scd0 1 1 bit name description 0 reserved must be programmed to 1 1 reserved must be programmed to 1 2 scd0 serial clock divider (bit 0) 3 scd1 serial clock divider (bit 1) 4 mcd0 master clock divider (bit 0) 5 mcd1 master clock divider (bit 1) 6 mcd2 master clock divider (bit 2) 7 cee control echo enable (0 = off; 1 = enabled) table xiii. control register c description control register c 765 4321 0 5ven ru puref pudac puadc 0 0 pu bit name description 0 pu power-up device (0 = power down; 1 = power on) 1 reserved must be programmed to 0 2 reserved must be programmed to 0 3 puadc adc power (0 = power down; 1 = power on) 4 pudac dac power (0 = power down; 1 = power on) 5 puref ref power (0 = power down; 1 = power on) 6 ru refout use (0 = disable refout; 1 = enable refout) 7 5ven en able 5 v operating mode (0 = disable 5 v mode; 1 = enable 5 v mode)
AD73311 C18C rev. a table xiv. control register d description control register d 765 4321 0 mute ogs2 ogs1 ogs0 rmod igs2 igs1 igs0 bit name description 0 igs0 input gain select (bit 0) 1 igs1 input gain select (bit 1) 2 igs2 input gain select (bit 2) 3 rmod reset adc modulator (0 = off; 1 = reset enabled) 4 ogs0 output gain select (bit 0) 5 ogs1 output gain select (bit 1) 6 ogs2 output gain select (bit 2) 7 mute output mute (0 = mute off; 1 = mute enabled) table xv. control register e description control register e 765 4321 0 0 0 ibyp da4 da3 da2 da1 da0 bit name description 0 da0 dac advance setting (bit 0) 1 da1 dac advance setting (bit 1) 2 da2 dac advance setting (bit 2) 3 da3 dac advance setting (bit 3) 4 da4 dac advance setting (bit 4) 5 ibyp interpolator bypass (0 = bypass disabled; 1 = bypass enabled) 6 reserved must be programmed to 0 7 reserved must be programmed to 0
AD73311 C19C rev. a program (control) mode in program mode, cra:0 = 0, the user writes to the control registers to set up the device for desired operationsport operation, cascade length, power management, input/output gain, etc. in this mode, the 16-bit information packet sent to the device by the dsp engine is interpreted as a control word whose format is shown in table x. in this mode, the user must address the device to be programmed using the address field of the control word. this field is read by the device and if it is zero (000 bin) then the device recognizes the word as being addressed to it. if the address field is not zero, it is then decremented and the control word is passed out of the deviceeither to the next device in a cascade or back to the dsp engine. this 3-bit address format allows the user to uniquely address any one of up to eight devices in a cascade; please note that this addressing scheme is valid only in sending control information to the device a different format is used to send dac data to the device(s). in a single codec configuration, all control word addresses must be zero, otherwise they will not be recognized; in a multi-codec configuration all addresses from zero to n-1 (where n = number of devices in cascade) are valid. following reset, when the se pin is enabled, the codec responds by raising the sdofs pin to indicate that an output sample event has occurred. control words can be written to the device to coincide with the data being sent out of the sport, as shown in figure 10, or they can lag the output words by a time interval that should not exceed the sample interval. after reset, output frame sync pulses will occur at a slower default sample rate, which is dmclk/2048, until control register b is program- med after which the sdofs pulses will revert to the dmclk/256 rate. this is to allow slow controller devices to establish com- munication with the AD73311. during program mode, the data output by the device is random and should not be inter- preted as adc data. data mode once the device has been configured by programming the cor- rect settings to the various control registers, the device may exit program mode and enter data mode. this is done by program- ming the data/ pgm (cra:0) bit to a 1 and mm (cra:1) to 0. once the device is in data mode, the 16-bit input data frame is now interpreted as dac data rather than a control frame. this data is therefore loaded directly to the dac register. in data mode, as the entire input data frame contains dac data, the device relies on counting the number of input frame syncs received at the sdifs pin. when that number equals the device count stored in the device count field of cra, the device knows that the present data frame being received is its own dac up- date data. when the device is in normal data mode (i.e., mixed mode disabled), it must receive a hardware reset to reprogram any of the control register settings. in a single codec configura- tion, each 16-bit data frame sent from the dsp to the device is interpreted as dac data. the default device count is 1, therefore each input frame sync will cause the 16-bit data frame to be loaded to the dac register. appendix a details the initialization and operation of a single codec in normal data mode, while appendix c details the initialization and operation of a dual codec cascade in normal data mode. mixed program/data mode this mode allows the user to send control words to the device along with the dac data. this permits adaptive control of the device whereby control of the input/output gains can be effected by interleaving control words along with the normal flow of dac data. the standard data frame remains 16 bits, but now the msb is used as a flag bit to indicate whether the remaining 15 bits of the frame represent dac data or control information. in the case of dac data, the 15 bits are loaded with msb justi- fication and lsb set to 0 to the dac register. mixed mode is enabled by setting the mm bit (cra:1) to 1 and the data/ pgm bit (cra:0) to 1. in the case where control setting changes will be required during normal operation, this mode allows the ability to load both control and data information with the slight inconvenience of formatting the data. note that the output samples from the adc will also have the msb set to zero to indicate it is a data word. a description of a single device operating in mixed mode is detailed in appendix b, while appendix d details the initializa- tion and operation of a dual codec cascade operating in mixed mode. note that it is not essential to load the control registers in program mode before setting mixed mode active. it is also possible to initiate mixed mode by programming cra with the first control word and then interleaving control words with dac data. analog loop-back this mode can be used for diagnostic purposes and allows the user to feed the adc samples from the adc register directly to the dac register. this forms a loop-back of the analog input to the analog output by reconstructing the encoded signal using the decoder channel. the serial interface will continue to work, which allows the user to control gain settings, etc. only when alb is enabled with mixed mode operation can the user disable the alb, otherwise the device must be reset. digital loop-back this mode allows the user to verify the dsp interfacing and connection by writing words to the sport of the devices and have them returned back unchanged after a delay of 16 sclk cycles. the frame sync and data word that are sent to the device are returned via the output port. again, dlb mode can only be disabled when used in conjunction with mixed mode, otherwise the device must be reset.
AD73311 C20C rev. a se sdofs sample word (device 1) sample word (device 1) sdo sclk sdifs sdi data (control) word (device 1) data (control) word (device 1)
AD73311 C21C rev. a cascade operation the AD73311 has been designed to support up to eight codecs in a cascade connected to a single serial port, see figure 31. the sport interface protocol has been designed so that device addressing is built into the packet of information sent to the device. this allows the cascade to be formed with no extra hard- ware overhead for control signals or addressing. a cascade can be formed in either of the two modes previously discussed. there may be some restrictions in cascade operation due to the number of devices configured in the cascade and the serial clock rate chosen. table xvi details the requirements for sclk rate for cascade lengths from 1 to 8 devices. this assumes a directly coupled frame sync arrangement as shown in figure 13. table xvi. cascade options number of devices in cascade sclk 12345678 dmclk 33333333 dmclk/2 33333333 dmclk/4 3333 xxxx dmclk/8 33 xxxxxx AD73311 codec sdifs sdi sclk sdo sdofs tfs dt sclk dr rfs adsp-21xx dsp figure 13. directly coupled or frame sync loop- back configuration when using the indirectly coupled frame sync configuration in cascaded operation it is necessary to be aware of the restrictions in sending data to all devices in the cascade. effectively the time allowed is given by the sampling interval (256/dmclk) which is 15.625 m s for a sample rate of 64 khz. in this interval, the dsp must transfer n 16 bits of information where n is the number of devices in the cascade. each bit will take 1/sclk and, allowing for any latency between the receipt of the rx interrupt and the transmission of the tx data, the relationship for successful operation is given by: 256 /dmclk > (( n/sclk ) + t interrupt latency ) the interrupt latency will include the time between the adc sampling event and the rx interrupt being generated in the dspthis should be 16 sclk cycles. in cascade mode, each device must know the number of devices in the cascade because the data and mixed modes use a method of counting input frame sync pulses to decide when they should update the dac register from the serial input register. interfacing the AD73311 can be interfaced to most modern dsp engines using conventional serial port connections and an extra enable control line. both serial input and output data use an accompa- nying frame synchronization signal which is active high one clock cycle before the start of the 16-bit word or during the last bit of the previous word if transmission is continuous. the serial clock (sclk) is an output from the codec and is used to define the serial transfer rate to the dsps tx and rx ports. two primary configurations can be used: the first is shown in figure 12 where the dsps tx data, tx frame sync, rx data and rx frame sync are connected to the codecs sdi, sdifs, sdo and sdofs respectively. this co nfiguration, referred to as indirectly coupled or nonframe sync loop-back, has the effect of decoupling the transmission of input data from the receipt of output data. the delay between receipt of codec output data and transmission of input data for the codec is determined by the dsps software latency. when programming the dsp serial port for this con- figuration, it is necessary to set the rx fs as an input and the tx fs as an output generated by the dsp. this configuration is most useful when operating in mixed mode, as the dsp has the ability to decide how many words (either dac or control) can be sent to the codec(s). this means that full control can be imple- mented over the device configuration as well as updating the dac in a given sample interval. the second configuration (shown in figure 13) has the dsps tx data and rx data con- nected to the codecs sdi and sdo, respectively while the dsps tx and rx frame syncs are connected to the codecs sdifs and sdofs. in this configuration, referred to as directly coupled or frame sync loop-back, the frame sync signals are connected together and the input data to the codec is forced to be synchronous with the output data from the codec. the dsp must be programmed so that both the tx fs and rx fs are inputs as the codec sdofs will be input to both. this configu- ration guarantees that input and output events occur simulta- neously and is the simplest configuration for operation in normal data mode. note that when programming the dsp in this configuration it is advisable to preload the tx register with the first control word to be sent before the codec is taken out of reset. this ensures that this word will be transmitted to coincide with the first output word from the device(s). AD73311 codec sdifs sdi sclk sdo sdofs tfs dt sclk dr rfs adsp-21xx dsp figure 12. indirectly coupled or nonframe sync loop- back configuration
AD73311 C22C rev. a control register a contains a 3-bit field (dc0C2) that is pro- grammed by the dsp during the programming phase. the default condition is that the field contains 000b, which is equivalent to a single device in cascade (see table xvii). however, for cascade operation this field must contain a binary value that is one less than the number of devices in the cascade. table xvii. device count settings dc2 dc1 dc0 cascade length 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111 8 performance as the AD73311 is designed to provide high performance, low cost conversion, it is important to understand the means by which this high performance can be achieved in a typical applica- tion. t his section will, by means of spectral graphs, outline the typical performance of the device and highlight some of the options available to users in achieving their desired sample rate, either directly in the device or by doing some post-processing in the dsp, while also showing the advantages and disadvan- tages of the different approaches. encoder section the encoder section samples at dmclk/256, which gives a 64 khz output rate for dmclk equal to 16.384 mhz. the noise shaping of the sigma-delta modulator also depends on the frequency at which it is clocked, which means that the best dynamic performance in a particular bandwidth is achieved by oversampling at the highest possible rate. if we assume that the signals of interest are in the voice bandwidth of dcC4 khz, then sampling at 64 khz gives a spectral response which ensures good snr performance in the voice bandwidth, as shown in figure 14. frequency C khz 0 C60 C150 032 5 db 10 15 20 25 30 C100 s/n+d = 59.4951 figure 14. fft (adc 64 khz sampling) if sampling at 8 khz is required, the user must implement some post-processing in the dsp engine to band limit the signal and decimate the samples to achieve the ultimate sampling rate of 8 khz. figure 15 shows the final spectral response of the 64 khz sampled data having been digitally filtered and deci- mated to an 8 khz rate. the filter used was a 6th order ellip- tical filter. frequency C khz 0 C140 0 4.0 0.5 db 1.0 1.5 2.0 2.5 3.0 3.5 C20 C60 C80 C100 C120 C40 s/n+d = 80.615918 figure 15. fft (adc 8 khz filtered and decimated from 64 khz) the device features an on-chip master clock divider circuit that allows the sample rate to be reduced. the present choice of clock divider options permits the device to sample at 64 khz, 32 khz, 21.33 khz, 16 khz and 12.8 khz from a 16.384 mhz master clock. reducing the dmclk rate lowers the sampling rate of the sigma-delta modulator, which causes the noise shaping to occur in a reduced bandwidth. the snr performance up to f s /2 will still be similar to that in the case of 64 khz sampling, but will be disimproved in the voice bandwidth due to the re- duced noise shaping. figure 16 shows this effect for a sampling rate of 16 khz. frequency C khz 0 C140 08 1 db 234567 C20 C60 C80 C100 C120 C40 s/n+d = 59.162677 figure 16. fft (adc 16 khz sampling)
AD73311 C23C rev. a in order to produce a direct sampling rate of 8 khz, it is necessary to reduce the external master clock to 8.192 mhz and to set the master clock divider to a ratio of 4, which results in a sample rate of 8 khz. in this case, the response of the sinc 3 decimation filter may affect the response in the voice bw as its first null occurs at 8 khz. in figure 17, trace a shows how the snr remains approximately constant up to f s /2 regardless of the sample rate f s ; trace b shows that the snr achievable in the voice bw is proportional to the sampling rate f s . these two traces intersect at an f s of 8 khz which is the point where f s /2 equals the voice bw. sampling frequency ( dmclk/256 ) C khz 816243240485664 80 70 s/(n+d) C db 65 55 75 60 snr in voiceband (300hzC3400hz) snr in band up to f s /2 trace b trace a figure 17. snr vs. sampling frequency if the input signal is externally band-limited, it is possible to achieve the 8 khz sampling rate directly from the 64 khz sample rate by decimating the sampled data in the dsp. this technique will alias the band between 8 khz and 64 khz into the 8 khz band, therefore it is necessary to have good quality external band-limiting on the input signal. figure 18 shows the spectral response of using this decimation technique for sample rate reduction. frequency C khz 0 C120 0 4.0 0.5 db 1.0 1.5 2.0 2.5 3.0 3.5 C20 C60 C80 C100 C40 s/n+d = 59.545 figure 18. fft (adc 8 khz subsampled) encoder group delay the AD73311 implementation offers a very low level of group delay, which is given by the following relationship: group delay (decimator) = order ((mC 1 )/ 2 ) tdec where: order is the order of the decimator (= 3), m is the decimation factor (= 32) and tdec is the decimation sample interval (= 1/2.048e6) => group delay (decimator) = 3 (32C1)/2 (1/2.048e6) = 22.7 m s if final filtering is implemented in the dsp, the final filters group delay must be taken into account when calculating overall group delay. decoder section the decoder section updates (samples) at the same rate as the encoder section, mclk/256, which gives a 64 khz rate from an external mclk of 16.384 mhz. figure 19 shows the spectral response of the decoder section sampling at 64 khz. again, its sigma-delta modulator shapes the noise so it is reduced in the voice bandwidth dcC4 khz. for improved voiceband snr, the user can implement an initial anti-imaging filter, preceded by 8 khz to 64 khz interpolation, in the dsp. frequency C khz 0 C140 032 5 db 10 15 20 25 30 C20 C60 C80 C100 C120 C40 s/n+d = 58.454842 figure 19. fft (dac 64 khz sampling) as is the case with the encoder section, voiceband snr is re- duced if the dmclk rate is reduced as shown by the example of 16 khz sampling in figure 20. this is due to the noise-shap- ing of the sigma-delta modulator being compressed into a smaller bandwidth, which increases the noise in the voice bw. frequency C khz 0 C140 08 123 4 5 67 C20 C60 C80 C100 C120 C40 db s/n+d = 57.441659 figure 20. fft (dac 16 khz sampling)
AD73311 C24C rev. a it is also possible to subsample the dacupdate at a lower rate than the sampling rateto reduce the overhead on the dsp. this, however, results in imaging of the subsampled bandwidth into the normal bandwidth, which implies that higher perfor- mance external anti-imaging filtering must be used to eliminate the images. the interpolator input also provides a minimum group delay realization in situations where that is critical. further reduction in group delay is possible by accessing the digital sigma-delta input at the expense of lower attenuation of images due to any repetition of input samples. figure 21 shows the spectral response of the decoder being sampled at 64 khz with its inter- polator bypassed. frequency C khz 0 C140 032 51015202530 C20 C60 C80 C100 C120 C40 db s/n+d = 58.557732 figure 21. fft (dac 64 khz samplinginterpolator bypassed) decoder group delay the interpolator ro ll-off is mainly due to its sync-cubed function characteristic, which has an inherent group delay given by the equation. group delay (interpolator) = order ( l C 1)/2) tint where: order is the interpolator order (= 3), l is the interpolation factor (= 32) and tint is the interpolation sample interval (= 1/2.048e6) => group delay (interpolator) = 3*(32-1)/2*(1/2.048e6) = 22.7 m s the analog section has a group delay of approximately 25 m s. design considerations analog input the analog input signal to the codec can be dc coupled, pro- vided that the dc bias level of the input signal is the same as the internal reference level (refout). figure 22 shows the recom- mended differential input circuit for the AD73311s analog input pins (vin). the circuit of figure 22 implements first- order low-pass filters with a 3 db point at 34 khz; these are the only filters that must be implemented external to the AD73311 to prevent aliasing of the sampled signal. since the codecs adc uses a highly oversampled approach that transfers the bulk of the antialiasing filtering into the digital domain, the off-chip antialiasing filter need only be of a low order. it is recommended that for optimum performance that the capacitors used for the antialiasing filter be of high quality dielectric (npo). refcap voltage reference 0.1 m f refout to input bias circuitry 100 v 100 v v in 0.047 m f 0.047 m f vinn vinp AD73311 figure 22. example circuit for differential input (dc coupling) the AD73311s on-chip 38 db preamplifier can be enabled when there is not enough gain in the input circuit; the preamplifier is configured by bits igs0C2 of crd. the total gain must be configured to ensure that a full-scale input signal produces a signal level at the input to the sigma-delta modulator of the adc that does not exceed the maximum input range. the dc biasing of the analog input signal is accomplished with an on-chip voltage reference. if the input signal is not biased at the internal reference level (via refout), then it must be ac- coupled with external coupling capacitors. c in should be 0.1 m f or larger. the dc biasing of the input can then be accomplished using resistors to refout as in figure 23. refcap voltage reference 0.1 m f refout to input bias circuitry 100 v 100 v v in cin cin 0.047 m f 0.047 m f vinn vinp 10k v 10k v AD73311 figure 23. example circuit for differential input (ac coupling)
AD73311 C25C rev. a refcap voltage reference 0.1 m f refout v in 0.047 m f vinn vinp 100 v cin 10k v AD73311 figure 25. example circuit for single-ended input (ac coupling) analog output the AD73311s differential analog output (vout) is produced by an on-chip differential amplifier. the differential output can be ac-coupled or dc-coupled directly to a load or to an external amplifier. figure 26 shows a simple circuit providing a differential output with ac coupling. the capacitors in this circuit (c out ) are optional; if used, their value can be chosen as follows: c out = 1 2 p f c r l where f c = desired cutoff frequency. AD73311 r l voutp voutn (vout channel) c out c out figure 26. example circuit for differential output figure 27 shows an example circuit for providing a single-ended output with ac coupling. the capacitor of this circuit (c out ) is not optional if dc current drain is to be avoided. r l voutp (vout channel) c out voutn AD73311 figure 27. example circuit for single-ended output digital interfacing the AD73311 is designed to easily interface to most common dsps. the sclk, sdo, sdofs, sdi and sdifs must be connected to the sclk, dr, rfs, dt and tfs pins of the dsp respectively. the se pin may be controlled from a parallel output pin or flag pin such as fl0C2 on the adsp-21xx (or xf on the tms320c5x) or, where sport powerdown is not required, it can be permanently strapped high using a suitable pull-up resistor. the reset pin may be connected to the sys- tem hardware reset structure or it may also be controlled using a dedicated control line. in the event of tying it to the global sys- tem reset, it is necessary to operate the device in mixed mode, which allows a sof tware reset, otherwise there is no conven ient way of resetting the device. figures 28 and 29 show typical connections to an adsp-2181 and tms320c5x respectively. sdifs sdi sclk sdo sdofs tfs dt sclk dr rfs resetb se fl0 fl1 adsp-21xx dsp AD73311 codec figure 28. AD73311 connected to adsp-2181 sdifs sdi sclk sdo sdofs fsx dx clkx clkr dr resetb se fsr xf tms320c5x dsp AD73311 codec figure 29. AD73311 connected to tms320c5x figures 24 and 25 detail dc- and ac-coupled input circuits for single-ended operation respectively. refcap voltage reference 0.1 m f refout v in 0.047 m f vinn vinp 100 v AD73311 figure 24. example circuit for single-ended input (dc coupling)
AD73311 C26C rev. a cascade operation where it is required to configure a cascade of up to eight de- vices, it is necessary to ensure that the timing of the se and reset signals is synchronized at each device in the cascade. a simple d type flip flop is sufficient to sync each signal to the master clock mclk, as in figure 30. 1/2 74hc74 d clk q dsp control to se mclk se signal synchronized to mclk dsp control to reset mclk reset signal synchronized to mclk 1/2 74hc74 d clk q figure 30. se and reset sync circuit for cascaded operation connection of a cascade of devices to a dsp, as shown in fig- ure 31, is no more complicated than connecting a single device. instead of connecting the sdo and sdofs to the dsps rx port, these are now daisy-chained to the sdi and sdifs of the next device in the cascade. the sdo and sdofs of the final device in the cascade are connected to the dsps rx port to complete the cascade. se and resetb on all devices are fed from the signals that were synchronized with the mclk using the circuit as described above. the sclk from only one device need be connected to the dsps sclk input(s) as all devices will be running at the same sclk frequency and phase. sdifs sdi sclk sdo sdofs tfs dt sclk dr rfs mclk se reset device 1 fl0 fl1 sdifs sdi sclk sdo sdofs mclk se reset device 2 74hc74 d1 d2 q1 q2 clk AD73311 codec AD73311 codec adsp-2181 dsp figure 31. connection of two AD73311s cascaded to adsp-2181 grounding and layout since the analog inputs to the AD73311 are differential, most of the voltages in the analog modulator are common-mode volt- ages. the excellent common-mode rejection of the part will remove common-mode noise on these inputs. the analog and digital supplies of the AD73311 are independent and separately pinned out to minimize coupling between analog and digital sections of the device. the digital filters on the encoder section will provide rejection of broadband noise on the power supplies, except at integer multiples of the modulator sampling frequency. the digital filters also remove noise from the analog inputs provided the noise source does not saturate the analog modula- tor. however, because the resolution of the AD73311s adc is high, and the noise levels from the AD73311 are so low, care must be taken with regard to grounding and layout. the printed circuit board that houses the AD73311 should be designed so the analog and digital sections are separated and confined to certain sections of the board. the AD73311 pin configuration offers a major advantage in that its analog and digital interfaces are connected on opposite sides of the package. this facilitates the use of ground planes that can be easily sepa- rated, as shown in figure 32. a minimum etch technique is generally best for ground planes as it gives the best shielding. digital and analog ground planes should be joined in only one place. if this connection is close to the device, it is recom- mended to use a ferrite bead inductor as shown in figure 32. digital ground analog ground figure 32. ground plane layout avoid running digital lines under the device for they will couple noise onto the die. the analog ground plane should be allowed to run under the AD73311 to avoid noise coupling. the power supply lines to the AD73311 should use as large a trace as pos- sible to provide low impedance paths and reduce the effects of glitches on the power supply lines. fast switching signals such as clocks should be shielded with digital ground to avoid radiating noise to other sections of the board, and clock signals should never be run near the analog inputs. traces on opposite sides of the board should run at right angles to each other. this will reduce the effects of feedthrough through the board. a microstrip technique is by far the best but is not always possible with a double-sided board. in this technique, the component side of the board is dedicated to ground planes while signals are placed on the other side.
AD73311 C27C rev. a good decoupling is important when using high speed devices. all analog and digital supplies should be decoupled to agnd and dgnd respectively, with 0.1 m f ceramic capacitors in parallel with 10 m f tantalum capacitors. to achieve the best from these decoupling capacitors, they should be placed as close as possible to the device, ideally right up against it. in systems where a common supply voltage is used to drive both the avdd and dvdd of the AD73311, it is recommended that the systems avdd supply be used. this supply should have the recommended analog supply decoupling between the avdd pins of the AD73311 and agnd and the recommended digital supply decoupling capacitors between the dvdd pin and dgnd. dsp programming considerations this section discusses some aspects of how the serial port of the dsp should be configured and the implications of whether rx and tx interrupts should be enabled. dsp sport configuration following are the key settings of the dsp sport required for the successful operation with the AD73311: ? configure for external sclk. ? serial word length = 16 bits. ? transmit and receive frame syncs required with every word. ? receive frame sync is an input to the dsp. ? transmit frame sync is an: inputin frame sync loop-back mode outputin nonframe sync loop-back mode. ? frame syncs occur one sclk cycle before the msb of the ? serial word. ? frame syncs are active high. dsp sport interrupts if sport interrupts are enabled, it is important to note that the active signals on the frame sync pins do not necessarily corre- spond with the positions in time of where sport interrupts are generated. on adsp-21xx processors, it is necessary to enable sport interrupts and use interrupt service routines (isrs) to handle tx/rx activity, while on the tms320csx processors it is pos- sible to poll the status of the rx and tx registers, which means that rx/tx activity can be monitored using a single isr that would ideally be the tx isr as the tx interrupt will typically occur before the rx isr.
AD73311 C28C rev. a appendix a programming a single AD73311 for data mode operation this section describes a typical sequence in programming a single codec to operate in normal data mode. it details the control (program) words that are sent to the device to configure its internal registers and shows the typical output data received during both program and data modes. the device is connected in frame sync loop-back mode (see figure 13), which forces an input word from the dsps tx reg each time the codec outputs a word via the sdo/sdofs lines. in step 1, the part has just been reset and on the first output event the codec pre- sents an invalid output word 1 . the dsps tx reg contains a dsp tx reg control word 1 1 0 000 001 00000011 adc word 1 * 0000 0000 0000 0000 don't care xxxx xxxx xxxx xxxx dsp rx reg step 1 dsp tx reg device 1 control word 1 1 0 000 010 00000001 control word 1 1 0 000 001 00000011 adc word 1 * 0000 0000 0000 0000 dsp rx reg step 2 dsp tx reg device 1 control word 1 1 0 000 010 00000001 adc word 1 * 1011 1001 0000 0011 don't care xxxx xxxx xxxx xxxx dsp rx reg step 3 dsp tx reg device 1 control word 1 1 0 000 000 00000001 control word 1 1 0 000 010 00000001 adc word 1 * 1011 1001 0000 0011 dsp rx reg step 4 dsp tx reg device 1 control word 1 1 0 000 000 00000001 adc word 1 * 1011 1010 0000 0001 don't care xxxx xxxx xxxx xxxx dsp rx reg step 5 dsp tx reg device 1 dac word 1 0111 1111 1111 1111 control word 1 1 0 000 000 00000001 adc word 1 * 1011 1010 0000 0001 dsp rx reg step 6 dsp tx reg dac word 1 0111 1111 1111 1111 adc word 1 1000 0000 0000 0000 don't care xxxx xxxx xxxx xxxx dsp rx reg step 7 dsp tx reg device 1 dac word 1 0111 1111 1111 1111 dac word 1 0111 1111 1111 1111 adc word 1 1000 0000 0000 0000 dsp rx reg step 8 *adc samples during program mode are invalid. device 1 device 1 figure 33. programming a single AD73311 for normal control word that programs crb with the data word 0x03. in step 2, the control word from the dsps tx reg has been sent to the codecs sport and the output word has been received by the dsps rx reg. in steps 3 and 4, register crc is pro- grammed with 0x01, which powers up the analog section. in steps 5 and 6, the codec is put into programming mode by setting the pgm /data bit of cra. in step 7, the output word from the device is now a valid adc word as the device has been programmed into data mode. note also that the codec now expects dac data to be sent to it and will interpret any data from the dsp to be 16-bit dac data. note 1 data output by the codec in program mode is invalid and should not be inter- preted as adc data. the only exception to this is output caused by register reads or cee being enabled on control word writes.
AD73311 C29C rev. a appendix b programming a single AD73311 for mixed mode operation this section describes a typical sequence in programming a single codec to operate in mixed mode. the device is connected in nonframe sync loop-back mode (see figure 14), which allows the dsps tx reg to determine how many words are sent to the device. in step 1, the part has just been reset and on the first output event the codec presents an invalid output word 1 . the dsps tx reg contains a control word that programs cra with the data word 0x03, which will put the device in mixed mode. in step 2, the control word from the dsps tx reg has been sent to the codecs sport and the output word has been received by the dsps rx reg. the tx register raises the sdifs to send a control word that will program crb of the codec. in step 3 the sclk and sample rate are set by program- ming crb. in step 4, the analog sections of the device are powered up by programming crc, while in step 5, the encoder gain is set to 0 db via crd. in step 6, the dac register is updated by the contents of the serial register. alternately, a register read cycle could be introduced instead of the dac load in step 6 2 . steps 7 and 8 show another adc read, dac write cycle. notes 1 data output by the codec in program mode is invalid and should not be inter- preted as adc data. the only exception to this is output caused by register reads or cee being enabled on control word writes. 2 in mixed mode, it may be necessary to terminate a control word write to a device with a control word read to that device in order to ensure that the next adc sample is correct. alternatively the adc word can either be discarded or, if this is not possible, it can be rebuilt by incrementing the address field within the 16-bit word. dsp tx reg control word 1 1 0 000 000 00000011 adc word 1 * 0000 0000 0000 0000 don't care xxxx xxxx xxxx xxxx step 1 dsp tx reg device 1 control word 1 1 0 000 001 00001111 control word 1 1 0 000 000 00000011 adc word 1 * 0000 0000 0000 0000 dsp rx reg step 2 dsp tx reg device 1 control word 1 1 0 000 010 00000001 control word 1 1 0 000 001 00001111 don't care xxxx xxxx xxxx xxxx dsp rx reg step 3 dsp tx reg device 1 control word 1 1 0 000 000 00000001 control word 1 1 0 000 010 00000001 don't care xxxx xxxx xxxx xxxx dsp rx reg step 4 dsp tx reg device 1 dac word 1 0100 0000 0000 0000 control word 1 1 0 000 011 00100000 don't care xxxx xxxx xxxx xxxx dsp rx reg step 5 dsp tx reg device 1 dac word 1 0011 1111 1111 1111 dac word 1 0100 0000 0000 0000 don't care xxxx xxxx xxxx xxxx dsp rx reg step 6 dsp tx reg dac word 1 0011 1111 1111 1111 adc word 1 0100 0000 0000 0000 don't care xxxx xxxx xxxx xxxx dsp rx reg step 7 dsp tx reg device 1 dac word 1 0100 0000 0000 0000 dac word 1 0011 1111 1111 1111 adc word 1 1000 0000 0000 0000 dsp rx reg step 8 *adc samples during program mode are invalid. device 1 dsp rx reg device 1 figure 34. programming a single AD73311 for mixed mode
AD73311 C30C rev. a appendix c configuring a cascade of two AD73311s to operate in data mode this section describes a typical sequence of control words that would be sent to a cascade of two AD73311s to set them up for operation. it is not intended to be a definitive initialization sequence, but will show users the typical input/output events that occur in the programming and operation phases 1 . this description panel refers to figure 35. in step 1, we have the first output sample event following device reset. the sdofs signal is raised on both devices simulta- neously, which prepares the dsp rx register to accept the adc word from device 2, while sdofs from device 1 becomes an sdifs to device 2. as the sdofs of device 2 is coupled to the dsps tfs and rfs, and to the sdifs of device 1, this event also forces a new control word to be output from the dsp tx register to device 1. in step 2, we observe the status of the devices following the transmission of the first control word. the dsp has received the adc word from device 2, while device 2 has received the adc word from device 1 and device 1 has received the con- trol word destined for device 2. at this stage, the sdofs of both devices are again raised because device 2 has received device 1s adc word, and as it is not a valid control word addressed to device 2, it is passed on to the dsp. likewise, device 1 has received a control word destined for device 2 address field is not zeroand it decrements the address field of the control word and passes it on. step 3 shows completion of the first series of control word writes. the dsp has now received both invalid adc words and each device has received a control word that addresses control register b and sets the internal mclk divider ratio to 1, sclk rate to dmclk/8. note that both devices are updated simulta- neously as both receive the addressed control word at the same time. this is an important factor in cascaded operation as any latency between updating the sclk or dmclk of devices can result in corrupted operation. this will not happen in the case of a fslb configuration as shown here, but must be taken into account in a non-fslb configuration. one other important observation of this sequence is that the data words are received and transmitted in reverse order, i.e., the adc words are received by the dsp, device 2 first, then device 1, and similarly the transmit words from the dsp are sent device 2 first, then device 1. this ensures that all devices are updated at the same time. in step 4, the next adc sample event that happens raises the sdofs lines of each of the devices. the dsp tx register con- tains the first of the two control words to be written to the cas- cadethe word for device 2. in step 5, following transmission of the first of the two control words, the dsp rx register contains device 2s adc word, device 2s serial register contains the device 1 adc word, device 1s serial register contains the control word addressed to device 2 and the dsp tx register contains the next control wordthat addressed to device 1. again, both devices raise their sdofs lines as both have received control words not addressed to them. step 6 shows the completion of the second set of control word writes. in this case, both devices have received a control word addressed to control register a, which sets the device count field equal to two devices in cascade and sets the pgm /data bit to one to put the device in data mode. in step 7, the programming phase is complete and we now begin actual device data read and write. the words loaded into the serial registers of the two devices at the adc sampling event now contain valid adc data and the words written to the de- vices from the dsps tx register will now be interpreted as dac words. note, therefore, that the dsp tx register contains the dac word for device 2. in step 8, the first dac word has been transmitted into the cascade and the adc word from device 2 has been read from the cascade. the dsp tx register now contains the dac word for device 1. as the words being sent to the cascade are now being interpreted as 16-bit dac words, the addressing scheme now changes from one where the address was embedded in the transmitted word to one where the serial port now counts the sdifs pulses. when the number of sdifs pulses received equals the value in the device count field of control register a the length of the cascadeeach device updates its dac register with the present word in its serial register. in step 8 each device has received only one sdifs pulse; device 2 received one sdifs from the sdofs of device 1 when it sent its adc word and device 1 received one sdifs pulse when it received the dac word for device 2 from the dsps tx register. therefore, each device raises its sdofs line to pass on the current word in its serial register, and each device now receives another sdifs pulse. step 9 shows the completion of an adc read and dac write cycle. following step 8, each device has received two sdifs pulses that equal the setting of the device count field in control register a. the dac register in each device is now updated with the contents of the word that accompanied the sdifs pulse which satisfied the device count requirement. the internal frame sync counter is now reset to zero and will begin counting for the next dac update cycle. note 1 this sequence assumes that the dsp sports rx and tx interrupts are enabled. it is important to ensure that there is no latency (separation) between control words in a cascade configuration. this is especially the case when programming control register b as it contains settings for sclk and dmclk rates.
AD73311 C31C rev. a dsp tx reg device 1 device 2 control word 2 1 0 001 001 00000011 adc word 1 * 0000 0000 0000 0000 don't care xxxx xxxx xxxx xxxx adc word 2 * 0000 0000 0000 0000 dsp rx reg step 1 dsp tx reg device 1 device 2 control word 1 1 0 000 001 00000011 control word 2 1 0 001 001 00000011 adc word 2 * 0000 0000 0000 0000 adc word 1 * 0000 0000 0000 0000 dsp rx reg step 2 dsp tx reg device 1 device 2 dac word 2 0111 1111 1111 1111 adc word 1 1010 1010 1010 1010 don't care xxxx xxxx xxxx xxxx adc word 2 0101 0101 0101 0101 dsp rx reg step 7 dsp tx reg device 1 device 2 control word 2 1 0 001 000 00010001 adc word 1 * 1011 1001 0000 0011 don't care xxxx xxxx xxxx xxxx adc word 2 * 1011 1001 0000 0011 dsp rx reg step 4 dsp tx reg device 1 device 2 control word 2 1 0 001 000 00010001 control word 1 1 0 000 001 00000011 adc word 1 * 0000 0000 0000 0000 control word 2 1 0 000 001 00000011 dsp rx reg step 3 dsp tx reg device 1 device 2 control word 1 1 0 000 000 00010001 control word 2 1 0 001 000 00010001 adc word 2 * 1011 1001 0000 0011 adc word 1 * 1011 1001 0000 0011 dsp rx reg step 5 dsp tx reg device 1 device 2 dac word 2 0111 1111 1111 1111 control word 1 1 0 000 000 00010001 adc word 1 * 1011 0001 0000 0011 control word 2 1 0 000 000 00010001 dsp rx reg step 6 dsp tx reg device 1 device 2 dac word 1 1000 0000 0000 0000 dac word 2 0111 1111 1111 1111 adc word 2 0101 0101 0101 0101 adc word 1 1010 1010 1010 1010 dsp rx reg step 8 dsp tx reg device 1 device 2 dac word 2 0111 1111 1111 1111 dac word 1 1000 0000 0000 0000 adc word 1 1010 1010 1010 1010 dac word 2 0111 1111 1111 1111 dsp rx reg step 9 *adc samples during program mode are invalid. figure 35. programming two AD73311s in cascade for normal data mode
AD73311 C32C rev. a appendix d configuring a cascade of two AD73311s to operate in mixed mode this section describes a typical sequence of control words that would be sent to a cascade of two AD73311s to configure them for operation in mixed mode. it is not intended to be a definitive initialization sequence, but will show users the typical input/ output events that occur in the programming and operation phases 1 . this description panel refers to figure 36. in step 1, we have the first output sample event following device reset. the sdofs signal is raised on both devices simulta- neously, which prepares the dsp rx register to accept the adc word from device 2 while sdofs from device 1 becomes an sdifs to device 2. the cascade is configured as nonfslb, which means that the dsp has control over what is transmitted to the cascade 2 . in step 2, we observe the status of the devices following the transmission of the first control word. the dsp has received the adc word from device 2, while device 2 has received the adc word from device 1 and device 1 has received the control word destined for device 2. at this stage, the sdofs of both devices are again raised because device 2 has received device 1s adc word and, as it is not addressed to device 2, it is passed on to the dsp. likewise, device 1 has received a control word des- tined for device 2address field is not zeroand it decrements the address field of the control word and passes it on. step 3 shows completion of the first series of control word writes. the dsp has now received both adc words and each device has received a control word that addresses control regis- ter a and sets the device count field equal to two devices and programs the devices into mixed modemm and pgm /data set to one. in step 4, the next adc sample event that happens raises the sdofs lines of each of the devices. the devices are in mixed mode, which means that the serial port interrogates the msb of the 16-bit word sent to determine whether it contains dac data or control information. following the programming of the device, the adc word in each device may need to be reconstructed into mixed mode in steps 1 to 3. this phenomenon also occurs during mixed mode operation when a control word is written to a device. the dsp tx register contains the first of the two control words to be w ritten to the cascadethe word for device 2. in step 5, following transmission of the first of the two control words, the dsp rx register contains device 2s adc word, device 2s serial register contains the device 1 adc word, device 1s serial register contains the control word addressed to device 2, and the dsp tx register contains the next control wordthat addressed to device 1. again, both devices raise their sdofs lines as both have received control words not addressed to them. step 6 shows the completion of the second set of control word writes. in this case both devices have received a control word addressed to control register c which powers up the analog sections of the devices. a control word is sent from the dsps tx register to read control register c of device 2. this is done to avoid corruption of the next adc word 3 . in step 7, the control word written to device 2 is in device 1, and the dsp tx register contains a control word to read regis- ter c of device 1. in step 8, the control words implementing a read have been received by both devices 1 and 2. when the read bit in the control word is recognized, it generates sdofs pulses in both devices to output the register data. in step 9, the read word from device 2 has been transferred to the dsps rx register with its address field decremented. the read word from device 1 has been transferred to device 2s serial register with its address field decremented. as this control word in device 2 does not have its address field at zero, it is not addressing device 2; it is shifted out of device 2 following the pulsing of the sdofs line. in step 10, the readback is complete with the device 1 read word being transferred to the dsps rx register. note that its address field has been further decremented. step 11 shows the next sample event. note that the adc values are not corrupted due to the effects of the reads implemented in steps 6C9. the above example does not implement a dac update but it is possible to update the dacs and modify the control registers within an adc sampling interval providing the sclk rate and cascade length allows. dac update uses the same frame sync counting mechanism as detailed in the section on programming a cascade for data mode operation 4 . notes 1 this sequence assumes that the dsp sports rx and tx interrupts are enabled. it is important to ensure there is no latency (separation) between control words in a cascade configuration. this is especially the case when prog ramming control register b, as it contains settings for sclk and dmclk rates. 2 in mixed mode it is possible to transmit both dac and control words to the devices in a cascade. if fslb is used, the number of words sent to the cascade equals the number of devices in the cascade, which means that dac updates may need to be substituted with a register write. in nonfslb, the dsp can send extra control words if necessary and if there is sufficient time before the next sample event. 3 in mixed mode, it may be necessary to terminate a control word write to a device with a control word read to that device in order to ensure that the next adc sample is correct. alternatively the adc word can either be discarded or, if this is not possible, be rebuilt by incrementing the address field within the 16-bit word. 4 in mixed mode, dac update is done using the same sdifs counting scheme as in normal data mode with the exception that only dac words (msb set to zero) are recognized as being able to increment the frame sync counters.
AD73311 C33C rev. a dsp tx reg device 1 device 2 adc word 1 * 0000 0000 0000 0000 don't care xxxx xxxx xxxx xxxx adc word 2 * 0000 0000 0000 0000 dsp rx reg step 1 dsp tx reg device 1 device 2 control word 1 1 0 000 000 00010011 control word 2 1 0 001 000 00010011 adc word 2 * 0000 0000 0000 0000 adc word 1 * 0000 0000 0000 0000 dsp rx reg step 2 dsp tx reg device 1 device 2 control word 1 1 1 000 010 00000000 control word 2 1 1 001 010 00000000 don't care xxxx xxxx xxxx xxxx don't care xxxx xxxx xxxx xxxx dsp rx reg step 7 dsp tx reg device 1 device 2 control word 2 1 0 001 010 00000001 adc word 1 * 0011 0111 1111 1111 don't care xxxx xxxx xxxx xxxx adc word 2 * 0111 1000 0000 0000 dsp rx reg step 4 dsp tx reg device 1 device 2 control word 1 1 0 000 000 00010011 control word 2 1 0 001 010 00000001 adc word 1 * 0000 0000 0000 0000 control word 2 1 0 000 000 00010011 dsp rx reg step 3 dsp tx reg device 1 device 2 control word 1 1 0 000 010 00000001 control word 2 1 0 001 010 00000001 adc word 2 * 0111 1000 0000 0000 adc word 1 * 0011 0111 1111 1111 dsp rx reg step 5 dsp tx reg device 1 device 2 control word 2 1 1 001 010 00000000 control word 1 1 0 000 010 00000001 adc word 1 * 0011 0111 1111 1111 control word 2 1 0 000 010 00000001 dsp rx reg step 6 dsp tx reg device 1 device 2 dac word 2 0011 1111 1111 1111 read word 1 1 1 000 010 00000001 don't care xxxx xxxx xxxx xxxx read word 2 1 1 000 010 00000001 dsp rx reg step 8 dsp tx reg device 1 device 2 dac word 2 0011 1111 1111 1111 don't care xxxx xxxx xxxx xxxx read word 2 1 1 111 010 00000001 read word 1 1 1 111 010 00000001 dsp rx reg step 9 dsp tx reg device 1 device 2 dac word 2 0011 1111 1111 1111 don't care xxxx xxxx xxxx xxxx read word 1 1 1 110 010 00000001 don't care xxxx xxxx xxxx xxxx dsp rx reg step 10 dsp tx reg device 1 device 2 dac word 2 0011 1111 1111 1111 adc word 1 0011 1111 1111 1111 read word 2 1 1 111 010 00000001 adc word 2 0100 0000 0000 0000 dsp rx reg step 11 *adc samples during program mode are invalid. control word 2 1 0 001 000 00010011 figure 36. programming two AD73311s in cascade for mixed mode
AD73311 C34C rev. a appendix e dac timing control example the AD73311s dac is loaded from the dac register contents just before the adc register contents are loaded to the serial register (sdofs going high). this default dac load position can be advanced in time to occur earlier with respect to the sdofs going high. figure 37 shows an example of the adc unload and dac load sequence. at time t 1 the sdofs is raised to indicate that a new adc word is ready. following the sdofs pulse, 16 bits of adc data are clocked out on sdo in the sub- sequent 16 sclk cycles finishing at time t 2 where the dsps sport will have received the 16-bit word. the dsp may adc word dac word
AD73311 C35C rev. a topic page features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 functional block diagram . . . . . . . . . . . . . . . . . 1 general description . . . . . . . . . . . . . . . . . . . . . . . . . 1 specifications (3 v) . . . . . . . . . . . . . . . . . . . . . . . . . 2, 3 specifications (5 v) . . . . . . . . . . . . . . . . . . . . . . . . . 4, 5 timing characteristics (3 v) . . . . . . . . . . . . . . . . . 6 timing characteristics (5 v) . . . . . . . . . . . . . . . . . 7 timing diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7, 8 performance graphs . . . . . . . . . . . . . . . . . . . . . . . 8, 22C24 absolute maximum ratings . . . . . . . . . . . . . . . . . 9 ordering guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 pin function descriptions . . . . . . . . . . . . . . . . . 10 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 functional description . . . . . . . . . . . . . . . . . . . . 12 encoder channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 programmable gain amplifier . . . . . . . . . . . . . . . . . . . . . 12 adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 analog sigma-delta modulator . . . . . . . . . . . . . . . . . . . . 12 decimation filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 adc coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 decoder channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 dac coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 interpolation filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 analog smoothing filter & pga . . . . . . . . . . . . . . . . . . . 14 differential output amplifiers . . . . . . . . . . . . . . . . . . . . . 14 voltage reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 serial port (sport) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 sport overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 sport register maps . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 master clock divider . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 serial clock rate divider . . . . . . . . . . . . . . . . . . . . . . . . . 15 dac advance register . . . . . . . . . . . . . . . . . . . . . . . . . . 15 topic page operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 resetting the AD73311 . . . . . . . . . . . . . . . . . . . . . . . . . . 16 power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 control register tables . . . . . . . . . . . . . . . . . . . . . . . 17, 18 program (control) mode . . . . . . . . . . . . . . . . . . . . . . . . . 19 data mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 mixed program/data mode . . . . . . . . . . . . . . . . . . . . . . . 19 analog loop-back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 digital loop-back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 interface signal timing . . . . . . . . . . . . . . . . . . . . . . . . . . 20 interfacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 cascade operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 encoder section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 encoder group delay . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 decoder section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 decoder group delay . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 design considerations . . . . . . . . . . . . . . . . . . . . . 24 analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 analog output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 digital interfacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 cascade operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 grounding and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 dsp programming considerations . . . . . . . . . . . . . . . . . 27 dsp sport configuration . . . . . . . . . . . . . . . . . . . . . . . 27 dsp sport interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . 27 appendix a (single device data mode operation) . . . . . . 28 appendix b (single device mixed mode operation) . . . . . 29 appendix c (dual device data mode operation) . . . 30, 31 appendix d (dual device mixed mode operation) . . 32, 33 appendix e (dac timing control example) . . . . . . . . . . 34 outline dimensions . . . . . . . . . . . . . . . . . . . . . . . . . 36
C36C c2951aC0C9/98 printed in u.s.a. AD73311 rev. a 20-lead small outline ic (r-20) seating plane 0.0118 (0.30) 0.0040 (0.10) 0.0192 (0.49) 0.0138 (0.35) 0.1043 (2.65) 0.0926 (2.35) 0.0500 (1.27) bsc


▲Up To Search▲   

 
Price & Availability of AD73311

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X